package com.smart.community.region.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 导入进度VO
 * 
 * @author Wu.Liang
 * @since 2025-01-30
 */
@Data
@Schema(description = "导入进度VO")
public class ImportProgress {

    @Schema(description = "任务ID")
    private String taskId;

    @Schema(description = "任务状态")
    private String status;

    @Schema(description = "进度百分比")
    private Integer progress;

    @Schema(description = "当前步骤")
    private String currentStep;

    @Schema(description = "总步骤数")
    private Integer totalSteps;

    @Schema(description = "当前步骤数")
    private Integer currentStepNumber;

    @Schema(description = "开始时间")
    private LocalDateTime startTime;

    @Schema(description = "预计完成时间")
    private LocalDateTime estimatedEndTime;

    @Schema(description = "结束时间")
    private LocalDateTime endTime;

    @Schema(description = "已处理数量")
    private Integer processedCount;

    @Schema(description = "总数量")
    private Integer totalCount;

    @Schema(description = "错误数量")
    private Integer errorCount;

    @Schema(description = "错误信息")
    private String errorMessage;
}
